package com.wawei.seeds.services.remote;

import com.wawei.seeds.utils.NetBase;

import retrofit.Callback;
import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.http.Query;

/**
 * Created by itachi on 15/8/2.
 */
public interface WalnutCommentService {
    @GET("/provider/reviews.action")
    public void reviews(@Query("providerId")String providerId, Callback<CommentRestfulWrapper> result);

    @FormUrlEncoded
    @POST("/review/share.action")
    public void share(@Field("userId")int commentId, @Field("nick")String nickName, @Field("providerId")String providerId, @Field("content")String content, Callback<NetBase> result);
}
